<!--
  Generated template for the PersonalinfoPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
  <ion-navbar>
    <ion-buttons start>
      <button ion-button (click)="dismissCLI()">
        <img src="assets/img/back.png" width='15' height='20'>
      </button>
    </ion-buttons>
    <ion-title>个人资料</ion-title>
    <ion-buttons end style="text-align: right">
      <button ion-button style="color:black;" (click)="editUserInfoAPI()">完成</button>
    </ion-buttons>
  </ion-navbar>
</ion-header>

<ion-content padding>


  <ion-list>
    <!-- <button ion-item (click)="fileCLI()" class="avator">
      <label class="diyItem diytx">头像</label>
        <img src="assets/img/touxiang.png" width="50px" height="50px" class="myphoto">
      <page-select-picture [max]="6" [(fileObjList)]="fileObjList"></page-select-picture>
    </button> -->



    <ion-item (click)="gotoHeadface()">
      <label class="diyItem diytx">头像</label>
      <label class="diyItemright">
        <!-- <div class="pictures">
          <span *ngIf="allowDelete" class="remove" tappable (click)="deletePicture(i)">×</span>
          <img src="{{fileObj.thumbPath}}" tappable (click)="viewerPicture(i)">
        </div> -->
        <!-- <div *ngIf="lastImage==null" tappable (click)="addPicture()" class="pictures add"> -->
          <!-- <ion-icon name="camera"></ion-icon> -->
          <!-- <img src="{{imgpath}}"> -->
        <!-- </div> -->
        <div class="pictures add">
          <!-- <ion-icon name="camera"></ion-icon> -->
          <img  src="{{picture}}{{lastImage}}"/>
        </div>
        <!-- <page-select-picture [max]="6" [(fileObjList)]="fileObjList"></page-select-picture> -->


<!-- <div class="clear-fix" style="padding-top: 2px;" *ngIf="fileObjList">
  <div *ngFor="let fileObj of fileObjList, let i = index" class="pictures">
    <span *ngIf="allowDelete" class="remove" tappable (click)="deletePicture(i)">×</span>
    <img src="{{fileObj.thumbPath}}" tappable (click)="viewerPicture(i)">
  </div>
  <div *ngIf="fileObjList.length<max&&allowAdd" tappable (click)="addPicture()" class="pictures add">
    <img src="{{imgpath}}">
  </div>
</div> -->


      </label>
    </ion-item>


      <ion-item>
         <!-- <button ion-item >  -->
        <label class="diyItem">昵称</label>
        <label class="diyItemright" (click)="InputCLI('text','昵称','昵称',10,userVo.user_nickname,'user_nickname')">{{userVo.user_nickname}}</label>
      <!-- </button> -->
      </ion-item> 
     
    <!--<button ion-item (click)="InputCLI('number','ID','ID',5,userVo.user_id,'user_id')"> -->
      <!-- <ion-item>
        <label class="diyItem">ID</label>
        <label class="diyItemright">{{userVo.user_id}}</label>
      </ion-item> -->
    <!-- <button ion-item (click)="InputCLI('tel','手机号码','手机号码',11,userVo.user_phone,'user_phone')"> -->
      <ion-item>
        <label class="diyItem">手机号码</label>
        <label class="diyItemright">{{userVo.user_phone}}</label>
      </ion-item>
    <!-- </button> -->
  </ion-list>

  <!-- <ion-list>
    <div id="personmessage">
      <button ion-item (click)="managergoodsCLI()">
        <label class="diyItem">收货地址</label>
        <label class="diyItemright">{{userVo.default_address}}</label>
      </button>
    </div>
  </ion-list> -->


</ion-content>